li {
	color: orange;
}

.nav ul li {
	color: orange;
}

/* 标签嵌套 */
.nav {
	width: 200px;
	height: 200px;
	ul {
		li {
			color: orange;
			font-size: 20px;
		}
	}
}

div {
	font-size: 12px;
	font-weight: 700;
	font-family: 隶书;
}

/* 样式属性嵌套 */
div {
	font: {
		size:12px;
		weight: 700;
		family: 隶书;
	}
}

div a:hover{
	color: green;
}

div {
	a {
		&:hover {
			color: green;
		}
	}
}